package bit_pratice.day4;
import java.util.Scanner;

/**
 * 计算糖果
 **/
public class Num1 {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        int a=scanner.nextInt();
        int b=scanner.nextInt();
        int c=scanner.nextInt();
        int d=scanner.nextInt();
       float A=(a+c)/2f;
       float B1=(c-a)/2f;
       float B2=(b+d)/2f;
       float C=(d-b)/2f;
//        System.out.println(A+"-"+B1+"-"+B2+"-"+C);
       if(B1!=B2){
           System.out.println("No");
       }else{
           System.out.println((int)A+" "+(int)B1+" "+(int)C);
       }
    }
}